Component({
  properties: {
    teachingPlanData: {
      type:Object,
      value: {}
    }
  },
  observers: {
    teachingPlanData: function(value) {
      if (!value.name) {
        value.name = '教案'
      }
      this.setData({ detail: value })
    }
  },
  data: {
    detail: {}
  },
  methods: {

  }
})
